package com.api.common;

public class Common {

	public static final String USER_TOKEN_TEMPLATE = "{\"userid\":\"%s\",\"source\":\"%s\"}";
	public static final String LOGIN_SOURCE_FRONT = "front";
	public static final String LOGIN_SOURCE_BACKSTAGE = "backstage";

	public static final String TOKEN = "TOKEN";

	public static final String UTF8 = "UTF-8";
	// 基础数据字段固定值
	public static final String TYPE = "type";
	public static final String CODE = "code";

	public static final String SYSTEM = "system";

	public static final String DEFAULT_PASSWD = "11111";
	// 超时时间
	public static final long TOKEN_INVALID_TIME = 60 * 60 * 24 * 1000;
	public static final long SMSCODE_INVALID_TIME = 60 * 5 * 1000;
}
